/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements.  See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership.  The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License.  You may obtain a copy of the License at
*
*   http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied.  See the License for the
* specific language governing permissions and limitations
* under the License.
*/

(function (root, factory) {
  if (typeof define === 'function' && define.amd) {
    // AMD. Register as an anonymous module.
    define(['exports', 'echarts'], factory);
  } else if (typeof exports === 'object' && typeof exports.nodeName !== 'string') {
    // CommonJS
    factory(exports, require('echarts'));
  } else {
    // Browser globals
    factory({}, root.echarts);
  }
}(this, function (exports, echarts) {
  var log = function (msg) {
    if (typeof console !== 'undefined') {
      console && console.error && console.error(msg);
    }
  }
  if (!echarts) {
    log('ECharts is not Loaded');
    return;
  }
  if (!echarts.registerMap) {
    log('ECharts Map is not loaded')
    return;
  }
  echarts.registerMap('新绛县', {
    "type": "FeatureCollection", "features": [{
      "type": "Feature",
      "properties": {
        "adcode": 140825,
        "name": "新绛县",
        "center": [111.225205, 35.613697],
        "centroid": [111.165309, 35.626784],
        "childrenNum": 0,
        "level": "district",
        "acroutes": [100000, 140000, 140800],
        "parent": {"adcode": 140800}
      },
      "geometry": {
        "type": "MultiPolygon",
        "coordinates": [[[[111.126942, 35.819725], [111.122154, 35.8192], [111.11764, 35.819364], [111.112283, 35.819291], [111.109109, 35.817012], [111.101099, 35.812414], [111.095902, 35.805125], [111.092119, 35.800523], [111.081723, 35.784777], [111.078418, 35.779408], [111.074632, 35.770959], [111.067066, 35.762122], [111.061796, 35.755784], [111.060559, 35.747749], [111.057029, 35.741052], [111.057223, 35.737249], [111.057473, 35.734501], [111.056761, 35.720312], [111.0593, 35.695809], [111.064992, 35.675404], [111.068572, 35.668515], [111.074672, 35.659547], [111.075731, 35.653822], [111.075332, 35.643291], [111.07968, 35.629529], [111.084619, 35.618735], [111.089054, 35.612521], [111.093165, 35.603561], [111.095564, 35.591869], [111.092912, 35.581586], [111.08972, 35.572911], [111.086527, 35.564693], [111.08504, 35.556462], [111.083282, 35.550748], [111.080392, 35.544584], [111.066935, 35.52361], [111.062074, 35.517], [111.050673, 35.50401], [111.044975, 35.497176], [111.038365, 35.486218], [111.035669, 35.471118], [111.035547, 35.460812], [111.035572, 35.454289], [111.045956, 35.456077], [111.052369, 35.459622], [111.060425, 35.463881], [111.079402, 35.47107], [111.088039, 35.474641], [111.105217, 35.473524], [111.127074, 35.475435], [111.138535, 35.47742], [111.149462, 35.477563], [111.165502, 35.474791], [111.180084, 35.474966], [111.18953, 35.478749], [111.199726, 35.486661], [111.208035, 35.492259], [111.218053, 35.495591], [111.236274, 35.496506], [111.245779, 35.499153], [111.252155, 35.503359], [111.256282, 35.507996], [111.260886, 35.515617], [111.268527, 35.52717], [111.279875, 35.532729], [111.286535, 35.534354], [111.296256, 35.536198], [111.286504, 35.544269], [111.283633, 35.546289], [111.278495, 35.550342], [111.273053, 35.555299], [111.271304, 35.558943], [111.275661, 35.565413], [111.280409, 35.567085], [111.283974, 35.571946], [111.28194, 35.575351], [111.278185, 35.579874], [111.273575, 35.584848], [111.26922, 35.592117], [111.266284, 35.598029], [111.265425, 35.611849], [111.266328, 35.615614], [111.267258, 35.616363], [111.268158, 35.629909], [111.271385, 35.632551], [111.27339, 35.633691], [111.275586, 35.633691], [111.282037, 35.63163], [111.285726, 35.628454], [111.288219, 35.628513], [111.290265, 35.629773], [111.291518, 35.632171], [111.291649, 35.634122], [111.292249, 35.635043], [111.292024, 35.636224], [111.291027, 35.63785], [111.289162, 35.639041], [111.288263, 35.639933], [111.28989, 35.64138], [111.298733, 35.645096], [111.301173, 35.646697], [111.302038, 35.648136], [111.302198, 35.649152], [111.301648, 35.65114], [111.300745, 35.652853], [111.300033, 35.653705], [111.298602, 35.655974], [111.297868, 35.658549], [111.296975, 35.659974], [111.295719, 35.661392], [111.294304, 35.662663], [111.293404, 35.664223], [111.291952, 35.668362], [111.291761, 35.669512], [111.292448, 35.670806], [111.293489, 35.67196], [111.295063, 35.672555], [111.295769, 35.672698], [111.298224, 35.672866], [111.301039, 35.67276], [111.303141, 35.673348], [111.304553, 35.673929], [111.306846, 35.675883], [111.308698, 35.675887], [111.309613, 35.676639], [111.31146, 35.676646], [111.313303, 35.677402], [111.321627, 35.677424], [111.32348, 35.676676], [111.32532, 35.676683], [111.326251, 35.67593], [111.341042, 35.672208], [111.341966, 35.671463], [111.344743, 35.671467], [111.34758, 35.670725], [111.34792, 35.673242], [111.347564, 35.679152], [111.342916, 35.684455], [111.339964, 35.68596], [111.338015, 35.694878], [111.338399, 35.699592], [111.3368, 35.709644], [111.331086, 35.712306], [111.322049, 35.713087], [111.316145, 35.712087], [111.308005, 35.709904], [111.299286, 35.708407], [111.291455, 35.704631], [111.283424, 35.697876], [111.278229, 35.692961], [111.277042, 35.690821], [111.274581, 35.689506], [111.270754, 35.683502], [111.265197, 35.679762], [111.25789, 35.678973], [111.252789, 35.680284], [111.248188, 35.685259], [111.243633, 35.689769], [111.242065, 35.695481], [111.235999, 35.703642], [111.228605, 35.706983], [111.219846, 35.709622], [111.215207, 35.711864], [111.214467, 35.712441], [111.207282, 35.714303], [111.199717, 35.717614], [111.196034, 35.719399], [111.191985, 35.72462], [111.188493, 35.730526], [111.188371, 35.735793], [111.188805, 35.741979], [111.189189, 35.750227], [111.187968, 35.755014], [111.183823, 35.764811], [111.178962, 35.768646], [111.170728, 35.772663], [111.166436, 35.776048], [111.164652, 35.780378], [111.162216, 35.789045], [111.158411, 35.795865], [111.15321, 35.802441], [111.144841, 35.811488], [111.137157, 35.81551], [111.126942, 35.819725]]]]
      }
    }]
  });
}));
